<jsp:include page="header.jsp" /><
<%String sessionMail = (String)session.getAttribute("sessionMail");%>
<div id="page-wrapper" >
				
	
	
	<div class="col-sm-10 col-sm-offset-2">
			<h1 class = "page-header col-sm-12">Manage your account</h1>
			
			<div class = "col-sm-2" style = "border-right: 1px solid #ccc;">
				
				<ul class = "nav">
					<li><a href = "/MetaQBank/editProfile.jsp">Edit Profile</a></li>
					<li><a href = "/MetaQBank/changePassword.jsp">Change Password</a></li>
					<li><a href = "/MetaQBank/upload.jsp">Upload Photo</a></li>
				</ul>
				
			</div>
			
			<div class = "col-sm-6">	
				<h3> Account Setting </h3>
				<form class="form-horizontal" action ="/MetaQBank/rest/profile/editProfile">
					<div class = "col-sm-offset-1">
						
						<div class="form-group">
							<label class="col-sm-3 control-label"> E-Mail </label>
							<div class="col-sm-7">
								<p class="form-control-static"><%= sessionMail %></p>
							</div>	
						</div>

						<div class="form-group">
							<label class="col-sm-3 control-label"> Full Name </label>
							<div class="col-sm-7">
								<input type = "text" class = "form-control" name = "name" >
							</div>	
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label"> Position </label>
							<div class="col-sm-7">
								<input type = "text" class = "form-control" name = "position" >
							</div>	
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label"> Organisation </label>
							<div class="col-sm-7">
								<input type = "text" class = "form-control" name = "organisation" >
							</div>	
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label"> Location </label>
							<div class="col-sm-7">
								<input type = "text" class = "form-control" name = "location" >
							</div>	
						</div>
						<button class = "btn btn-primary col-sm-offset-5">Save</button>
					</div>
				</form>
			</div>
        </div>
        </div>